package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 【请填写功能名称】对象 message
 *
 * @author ruoyi
 * @date 2025-03-26
 */
public class Message extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String message;

    /** 回复内容 */
//    @Excel(name = "回复内容")
//    private String replyMessage;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setMessage(String message)
    {
        this.message = message;
    }

    public String getMessage()
    {
        return message;
    }

//    public void setReplyMessage(String replyMessage)
//    {
//        this.replyMessage = replyMessage;
//    }
//
//    public String getReplyMessage()
//    {
//        return replyMessage;
//    }

    private String consume_account;

    public String getConsume_account() {
        return consume_account;
    }

    public void setConsume_account(String consume_account) {
        this.consume_account = consume_account;
    }

    private Long flowerId;

    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    private Long messageParentId;

    private List<Message> messageChildList;

    public List<Message> getMessageChildList() {
        return messageChildList;
    }

    public void setMessageChildList(List<Message> messageChildList) {
        this.messageChildList = messageChildList;
    }

    public Long getMessageParentId() {
        return messageParentId;
    }

    public void setMessageParentId(Long messageParentId) {
        this.messageParentId = messageParentId;
    }

    public Long getFlowerId() {
        return flowerId;
    }

    public void setFlowerId(Long flowerId) {
        this.flowerId = flowerId;
    }

//    private Consume user;

//    public Consume getUser() {
//        return user;
//    }

//    public void setUser(Consume user) {
//        this.user = user;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("message", getMessage())
//            .append("replyMessage", getReplyMessage())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
